rm frame
echo "删除frame二进制文件"
cat /dev/null > .out
echo "删除nohup日志文件"
go build -o frame main.go
echo "构建frame二进制文件"
nohup ./frame -pidx 1 >frame1.out 2>&1 &
echo "启动frame1服"
sleep 1
tail frame1.out
